/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const sportsRouter = {
  path: '/sports-health',
  component: Layout,
  redirect: '/sports-health/data-query',
  name: '运动健康',
  meta: {
    title: '运动健康',
    icon: 'chart'
  },
  children: [
    {
      path: 'data-query',
      component: () => import('@/views/sports-health/data-query'),
      name: '数据查询',
      meta: { title: '数据查询' }
    },
    {
      path: 'date-analysis',
      component: () => import('@/views/sports-health/data-analysis'),
      name: '数据分析',
      meta: { title: '数据分析' }
    }
  ]
}
export default sportsRouter
